api = APP.api

APP.app.toIndex = ->
    $('.view').hide()
    $('.view.index').show()
    APP.navigate 'home'
